package com.lcq.course.service;

import com.lcq.course.dao.CourseListDao;
import com.lcq.course.entity.Good;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodService {
    @Autowired
    CourseListDao courseListDao;

    public Good getGoodById(int id){
       return courseListDao.getGoodById(id);
    }

}
